home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 September / macformat-028.iso / mac / Shareware City / Developers / BoxMaker++ / NameLocker ƒ / NameFileLocker.h < prev    next >
Encoding:
Text File  |  1995-06-14  |  345 b   |  25 lines  |  [TEXT/KAHL]

  1.  
  2. typedef enum
  3. {
  4.     kIgnoreFile = 0,
  5.     kLockFile,
  6.     kUnlockFile,
  7.     
  8.     kIgnoreName = kIgnoreFile,
  9.     kLockName,
  10.     kUnlockName
  11. };
  12.  
  13. class NameFileLocker : public boxmaker
  14. {
  15.     public:
  16.         NameFileLocker( int theFileAction, int theNameAction);
  17.  
  18.     protected:
  19.         virtual void OpenDoc( Boolean opening);
  20.         
  21.     private:
  22.         const int fileAction;
  23.         const int nameAction;
  24. };
  25.